package net.zdreamer.geracomium.ui.more;

import net.zdreamer.geracomium.ui.BaseActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.geracomium.R;

public class JobProfileActivity extends BaseActivity implements OnClickListener {
	private ImageView share, back;
	private TextView title;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
	}
	@Override
	protected int getContentView() {
		// TODO Auto-generated method stub
		return R.layout.activity_job_profile;
	}

	@Override
	protected void init() {
		// TODO Auto-generated method stub
		
	}

	@Override
	protected void initViews() {
		// TODO Auto-generated method stub
		initTitle("招贤纳士",R.drawable.selector_title_back,R.drawable.selector_apply_job,true,true);
		
	}

	@Override
	protected void initListener() {
		// TODO Auto-generated method stub
		findViewById(R.id.share).setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch (v.getId()) {
		case R.id.back:
			Intent back_joinus=new Intent(JobProfileActivity.this,JoinUsActivity.class);
			startActivity(back_joinus);
			JobProfileActivity.this.finish();
			break;
		case R.id.share:
			Intent apply_job=new Intent(JobProfileActivity.this,ApplyJobActivity.class);
			startActivity(apply_job);
			JobProfileActivity.this.finish();
			break;
		default:
			break;
		}
	}

	

}
